﻿<%@ Page Language="C#" MasterPageFile="../Master/MasterPage.master" AutoEventWireup="true" CodeFile="Divulgador.aspx.cs" Inherits="Portal_Divulgador" Title="UMEVOR - Agenda do Divulgador" %>

<asp:Content ID="cphPagina" ContentPlaceHolderID="cphPagina" runat="Server">

    <script language="javascript" type="text/javascript">
    function abre_foto(link){
			window.open (link, 'foto', 'width=600,height=500,top=100,left=100,scrollbars=yes');
		}
    </script>

    <table cellspacing="0" cellpadding="0" width="100%" border="0" align="left">
        <tr>
            <td colspan="2" class="texto_titulo_p" style="padding-left: 8px; height: 20px;background-color: #6ABCE1;";
                width: 100%;" align="Left">
                <b>Agenda do Divulgador</b></td>
        </tr>
        <tr>
            <td colspan="2" style="height: 25px; width: 100%;" align="left">
            </td>
        </tr>
        <tr>
            <td style="height: 100%;width: 100%;" align="left">
            <table style="height: 8px; text-align: left;" border="0" class="texto">
                
                <tr>
                    <td style="height: 2px;" align="center" valign="middle">
                        <asp:TextBox ID="txtPalestrante" runat="server" CssClass="texto" Width="314px"></asp:TextBox>
                        <asp:ImageButton ID="btPesquisar" runat="server" ImageUrl="../images/bt_pesquisar.gif"
                            OnClick="btPesquisar_Click" />
                    </td>
                </tr>                
                <tr>
                    <td align="left" style="height: 19px; width: 571px;">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="height: 19px; width: 571px;"></td>
                </tr>
                <tr align="center">
                    <td align="left" style="width: 571px">
                        <asp:GridView id="gvPalestra" runat="server" Width="98%" CssClass="texto" 
                            AutoGenerateColumns="False" AllowSorting="True" PageSize="20" TabIndex="7" 
                            OnPageIndexChanging="gvPalestra_PageIndexChanging" 
                            onrowcreated="gvPalestra_RowCreated">
                        <PagerSettings Mode="NumericFirstLast"  />
                        <FooterStyle CssClass="texto"  />
                        <Columns>
                            <asp:TemplateField HeaderText="Horário">
                            <ItemStyle Width="16%" />
                            <HeaderStyle Width="80px" />
                            <ItemTemplate>
                                <asp:Label ID="lblHorario" runat="server" Text="Label"/>
                            </ItemTemplate>
                        </asp:TemplateField>
                            <asp:BoundField DataField="TX_TEMA" HeaderText="Tema">
                                <ItemStyle Width="30%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TX_ORADOR" HeaderText="Palestrante">
                                <ItemStyle Width="25%" />
                            </asp:BoundField>
                        </Columns>
                        <RowStyle CssClass="grvItemStyle"  />
                        <PagerStyle BackColor="#EA944B" ForeColor="White" CssClass="texto" HorizontalAlign="Center"  />
                        <HeaderStyle BackColor="#EA944B" ForeColor="White" CssClass="texto"  />
                        <AlternatingRowStyle CssClass="grvItemStyleAlternate"  />
                        </asp:GridView>
                    </td>                   
                </tr>
                <tr>
                    <td align="center" style="height: 19px; width: 571px;">
                        <a href="javascript:abre_foto('divulgadorImp.aspx')"><img border="0" src="../images/bt_imprimir_grd.jpg"></a>
                    </td>
                </tr>               
            </table>   
            </td>
        </tr>
    </table>
</asp:Content>

